﻿#region Includes
using System;
using System.Runtime.InteropServices;
#endregion

namespace GingerGL.Drawing.MD3
{
    //------------------------------------------------------------//
    /// <summary>
    /// IDS MD3 Shader
    /// </summary>
    [StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)]
    public struct MD3Shader
    {
        //--------------------------------------------------------//
        #region Variables
        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 64)]
        public char[] Name;                                     //Name of Tag object. ASCII character string, NUL-terminated (C-style)
        public Int32 ShaderInex;                                //Shader index number. No idea how this is allocated, but presumably in sequential order of definition.
        #endregion
        //--------------------------------------------------------//
    }
    //------------------------------------------------------------//
}
